package com.qr.bean.wmyw;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:27:22
 * 分离出查询实体
 */
@ApiModel(value = "qr_user_card", description = "用户银行卡")
@TableName(value = "qr_user_card")
public class QrUserCardView implements Serializable {
	@ApiModelProperty(value = "标识")
	@TableId(type = IdType.AUTO,value = "card_id")
	@NotNull(message = "标识不能为空")
	private Integer card_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "卡片方式:银行卡=1 微信=2 支付宝=3")
	@TableField(value="card_type")
	private Integer card_type;
	@ApiModelProperty(value = "银行名称")
	@TableField(value="bank_name")
	@NotNull(message = "银行名称不能为空")
	private String bank_name;
	@ApiModelProperty(value = "卡号/支付宝/微信")
	@TableField(value="card_no")
	@NotNull(message = "卡号/支付宝/微信不能为空")
	private String card_no;
	@ApiModelProperty(value = "持卡人姓名")
	@TableField(value="uname")
	@NotNull(message = "持卡人姓名不能为空")
	private String uname;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "乐观锁标识")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getCard_id() {
		return card_id;
	}
	public void setCard_id(Integer card_id) {
		this.card_id = card_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getCard_type() {
		return card_type;
	}
	public void setCard_type(Integer card_type) {
		this.card_type = card_type;
	}
 
	public String getBank_name() {
		return bank_name;
	}
	public void setBank_name(String bank_name) {
		this.bank_name = bank_name;
	}
 
	public String getCard_no() {
		return card_no;
	}
	public void setCard_no(String card_no) {
		this.card_no = card_no;
	}
 
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}